package com.makemoney.miniprogram.modules.users.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("t_role")
public class Roles {
    @TableId
    private Long id;
    private String roleName;
    private String roleKey;
    private Long createUser;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifyTime;
    private Long modifyUser;
    @TableLogic
    private Short deleted;
}
